<!--
 * @Descripttion: 
 * @version: 
 * @Author: cyj
 * @Date: 2022-12-10 11:41:40
-->
<template>
    <div class="private-content" v-if="privateContent.length !== 0">
        <!-- 标题部分 -->
        <div class="title">
            <span class="text">独家放送</span>
            <el-icon size="20">
                <ArrowRight />
            </el-icon>
        </div>

        <div class="main">
            <div class="main-item" v-for="(item, index) in privateContent" :key="item.id">
                <Privatelist :item="item"></Privatelist>
            </div>
        </div>
    </div>
</template>

<script setup>
import Privatelist from '@/components/content/privatelist/Privatelist.vue'

defineProps({
    privateContent: {
        type: Array,
        default: []
    }
})
</script>

<style lang="scss" scoped>
.private-content {
    margin-top: 20px;

    .title {
        cursor: pointer;
        width: 180px;
        display: flex;
        align-items: center;

        .text {
            font-size: 20px;
            font-weight: 700;
            margin-right: 5px;
        }
    }

    .main {
        display: flex;
        margin-top: 15px;
        justify-content: space-between;
        .main-item {
            height: 275px;
            width: 375px;
        }
    }
}
</style>